{extend name="index/index"/}

{block name="main"}
<div class=" admin-content">

    <div class="admin-biaogelist">

        <div class="listbiaoti am-cf">
            <ul class="am-icon-flag on"> 添加分类</ul>

            <dl class="am-icon-home" style="float: right;"> 当前位置： 首页 > <a href="{:url('admin/classify/create')}">添加分类</a></dl>

            </dl>

        </div>

        <div class="fbneirong">
            <form class="am-form" action="{:url('admin/classify/save')}" method="post">
                <div class="am-form-group am-cf">
                    <div class="zuo">父级类名：</div>
                    <select class="form-control " style="width:60% ;height:40px;" name="cid">
                        <option value="{$info}">父级类名</option>
                        {volist name="data" id="v" mod="1"}
                        {eq name="mod" value="0"}
                        <option value="{$v['id']}">{:str_repeat('&nbsp',$v['count']*8).'|--'.$v['cate_name']}</option>
                        {/eq}
                        {/volist}
                    </select>
                    <br/>
                    <div class="zuo">子级类名：</div>
                    <div class="you">
                        <input type="text" class="am-input-sm " placeholder="添加的分类名称" name="cate_name" style="width:86%" >
                    </div>

                </div>

                <div class="zuo">连接路径：</div>
                <div class="you">
                    <input type="text" class="am-input-sm " placeholder="添加连接路径" name="href_path" style="width:86%" >
                </div>

                <div class="am-form-group am-cf">
                    <div class="you" style="margin-left: 11%;">
                        <button type="submit" class="am-btn am-btn-success am-radius">添加分类名</button>
                    </div>
                </div>
            </form>
        </div>



        <div class="foods">
            <ul>
                版权所有@2015. 模板收集自 <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> -  More Templates<a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
            </ul>
            <dl>
                <a href="" title="返回头部" class="am-icon-btn am-icon-arrow-up"></a>
            </dl>
        </div>


    </div>

</div>




</div>
{/block}